Give\Donors\Repositories\DonorRepository A

Total Complexity 57
Dependencies 13
Dependents 2
Total lines 555
Lines of code 305
Logical lines of code 138
Comment lines 134
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
update()
A
46 11 37
insert()
A
44 10 45
getDonorType()
S
49 6 32
updateLegacyColumns()
S
55 4 19
updateAddresses()
S
48 3 33
delete()
S
56 2 19
getDonorLatestDonationDate()
S
59 2 15
validateDonor()
S
68 3 7
getByEmail()
S
62 2 13
getAdditionalEmails()
S
63 2 11
getByAdditionalEmail()
S
63 2 11
prepareQuery()
S
53 1 24
getByWpUserId()
S
68 2 8
updateAdditionalEmails()
S
65 2 9
__construct()
S
80 1 3
getCoreDonorMeta()
S
65 1 9
queryById()
S
76 1 4
getById()
S
80 1 3
getDonorsCount()
S
80 1 3